package com.tuanzi.loan.web.bean.accountTool;

import com.tuanzi.loan.business.service.accountTool.AccountBillService;
import com.tuanzi.loan.vo.request.accountTool.AccountBillSearchRequest;
import com.tuanzi.loan.vo.response.accountTool.AccountBillResponse;
import com.tuanzi.loan.web.configuration.JSFListingBean;
import com.tuanzi.loan.web.lazy.accountTool.AccountBillLazyDataModel;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.PostConstruct;

/**
 * 记账工具账单 bean
 * @author chenweijun 2017/11/01
 *
 */
public class AccountBillListBean extends JSFListingBean<AccountBillSearchRequest, AccountBillResponse> {

	private static final long serialVersionUID = -7456998959122405455L;
	
	@Autowired
	private AccountBillService accountBillService;
	
	@PostConstruct
	private void init() {
		initLazyDataModel();
	}
	
	private void initLazyDataModel() {
		$ = new AccountBillSearchRequest();
		lazyDataModel = new AccountBillLazyDataModel($);
	}

}
